package commands.nc;

import networkcontroller.TCPConnection;

public class NCGetInternal extends NetworkControllerCommand
{
	private String sum;
	private long size;
	private int segment;
	private TCPConnection tcpConnection;
		
	public NCGetInternal(String sum,long size,int segment,TCPConnection tcpConnection)
	{
		super(NetworkControllerCommandType.GET_INTERNAL);
		this.sum=sum;
		this.size=size;
		this.segment=segment;
		this.tcpConnection=tcpConnection;
	}
	
	public String getSum()
	{
		return sum;
	}

	public long getSize()
	{
		return size;
	}

	public int getSegment()
	{
		return segment;
	}

	public TCPConnection getTcpConnection()
	{
		return tcpConnection;
	}
	
}
